using UnityEngine;
// [Assembly-CSharp.dll].LevelItem
public class LevelItem : MonoBehaviour
{
    // Fields
    public int index;
    public TMPro.TextMeshProUGUI levelText;
    public UnityEngine.UI.Image bgImage;
    public UnityEngine.Sprite doneSpr;
    public UnityEngine.Sprite unDoneSpr;
    public UnityEngine.GameObject lockObj;
    
    // Methods
    private void Start()
    {
    
    }
    private void Update()
    {
    
    }
    public void RefreshItem(int page, bool isDone)
    {
        int val_2 = this.index;
        val_2 = 1 + val_2;
        string val_1 = val_2.ToString();
        if(isDone != false)
        {
                this.bgImage.sprite = this.doneSpr;
        }
        else
        {
                this.bgImage.sprite = this.unDoneSpr;
        }
        
        this.lockObj.SetActive(value:  true);
    }
    public LevelItem()
    {
    
    }

}
